package QC.MessageBox.beans.wxmsg.normalmsg;

import QC.MessageBox.beans.wxmsg.BaseWXMsg;

/**
 * Created by Andaren on 2017/4/27.
 * Used for: 微信用户发送图片消息
 */
public class WXImageMsg extends BaseWXMsg {

    private String picUrl;      // 图片url地址
    private String mediaId;     // 图片消息媒体id，可以调用多媒体文件下载接口拉取数据。

    public String getPicUrl() {
        return picUrl;
    }

    public WXImageMsg setPicUrl(String picUrl) {
        this.picUrl = picUrl;
        return this;
    }

    public String getMediaId() {
        return mediaId;
    }

    public WXImageMsg setMediaId(String mediaId) {
        this.mediaId = mediaId;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("WXImageMsg{");
        sb.append("picUrl='").append(picUrl).append('\'');
        sb.append(", mediaId='").append(mediaId).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
